<template>
    <div class="">
        <div class="crumbs">
            <el-breadcrumb separator="/">
                <el-breadcrumb-item><i class="el-icon-lx-copy"></i>全部标签</el-breadcrumb-item>
            </el-breadcrumb>
        </div>
        <div class="container">
            <el-table
            :data="tableData"
            style="width: 100%">
            <el-table-column
                prop="tag"
                label="标签ID"
                width="180">
            </el-table-column>
            <el-table-column
                prop="cargo"
                label="货物类型"
                width="180">
            </el-table-column>
            <el-table-column
                prop="cdistr_user"
                label="分配用户">
            </el-table-column>
            <el-table-column
                prop="create_user"
                label="创建用户">
            </el-table-column>
            <el-table-column 
                prop="create_time"
                label="创建时间">
            </el-table-column>
            <el-table-column 
                prop="update_time"
                label="更新时间">
            </el-table-column>
            <el-table-column
                label="操作">
                <template slot-scope="scope">
                    <el-button type="text">编辑</el-button>
                </template>
            </el-table-column>
            </el-table>
            
        </div>
    </div>
</template>

<script>
import { ShowTags } from '../../api/api.js'
    export default {
        name: 'allTags',
        data() {
            return {
                uid:localStorage.getItem('uid'),
                tableData:[],

            }
        },
        methods: {
            
        },
        computed: {
            
        },
        mounted(){
            ShowTags().then(res=>{
                console.log(res)
                this.tableData = res.data
            })
        }
    }

</script>

<style>
.message-title{
    cursor: pointer;
}
.handle-row{
    margin-top: 30px;
}
</style>

